
class GetQualificationListModel {
  String? conditionImageUrl;
  String? conditionName;
  int? count;
  bool? occupyPublicSale;

  GetQualificationListModel({this.conditionImageUrl, this.conditionName, this.count, this.occupyPublicSale});

  GetQualificationListModel.fromJson(Map<String, dynamic> json) {
    conditionImageUrl = json["conditionImageUrl"];
    conditionName = json["conditionName"];
    count = json["count"];
    occupyPublicSale = json["occupyPublicSale"];
  }

  static List<GetQualificationListModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(GetQualificationListModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["conditionImageUrl"] = conditionImageUrl;
    _data["conditionName"] = conditionName;
    _data["count"] = count;
    _data["occupyPublicSale"] = occupyPublicSale;
    return _data;
  }

  GetQualificationListModel copyWith({
    String? conditionImageUrl,
    String? conditionName,
    int? count,
    bool? occupyPublicSale,
  }) => GetQualificationListModel(
    conditionImageUrl: conditionImageUrl ?? this.conditionImageUrl,
    conditionName: conditionName ?? this.conditionName,
    count: count ?? this.count,
    occupyPublicSale: occupyPublicSale ?? this.occupyPublicSale,
  );
}